Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE NUP-2386 Experiment with renaming of RecordSensor region module #3632

Conversation

vitaly-krugl
Copy link
Member

@vitaly-krugl vitaly-krugl commented May 16, 2017

This PR demonstrates the issue "Problem moving module RecordSensor" described by @rhyolight in https://discourse.numenta.org/t/problem-moving-module-recordsensor/2309 and subsequently demonstrates the simple fix.

  1. Renamed RecordSensor.py to record_sensor.py, but didn't update the builtin regions registration to demonstrate failure witnessed by Matt
  2. Fixed the name of RecordSensor region's module in the pyRegions global variable inside src/nupic/engine/__init__.py to fix the issue that was reproduced in the above step.

Vitaly Kruglikov added 2 commits May 16, 2017 13:17
…te the

builtin regions registration to demonstrate failure witnessed by Matt
…nit__.py to match the renamed module

to demonstrate that the class name of the python region may differ from its module name, as long as it's
registered using the correct module name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant